Push

constructor(animated: Boolean = true, push: () -> <Error class: unknown class>, completion: () -> Unit? = null)

Parameters

animated

Specifies whether transition should be animated

push

Function to create the UIViewController to push

completion

Optional function to call when push has completed